import myaxios from "../MyAxios";
import BASEURL from "../BaseUrl";
const { BMDURL } = BASEURL;

const centerApi = {
  queryById(params) {
    return myaxios.get(BMDURL + '/game', params)
  },
  queryAll(params) {

    return myaxios.get(BMDURL + '/game_fenlei', params)
  },
  queryNew(params) {
    return myaxios.get(BMDURL + '/game_fenlei/new', params)
  },
  queryIos(params) {
    return myaxios.get(BMDURL + '/game_fenlei/ios', params)
  },
  queryHot(params) {
    return myaxios.get(BMDURL + '/game_fenlei/hot', params)
  },
  queryDow(params) {
    return myaxios.get(BMDURL + '/game_fenlei/dow', params)
  },
  queryRemen(params) {
    return myaxios.get(BMDURL + '/game_fenlei/remen', params)
  },
  queryXin(params) {
    return myaxios.get(BMDURL + '/game_fenlei/xin', params)
  },
  queryKe(params) {
    return myaxios.get(BMDURL + '/game_fenlei/ke', params)
  }
};

export default centerApi;